package com.itheima.proxy;

/**
 * @author Anomaly
 * @date 2023/2/12 18:45
 */
public class Star implements Skill {
    private String name;

    public Star(String name) {
        this.name = name;
    }

    @Override
    public void sing() {
        System.out.println(name + "执行了sing。。");
    }

    @Override
    public void dance() {
        System.out.println(name + "执行了dance。。");
    }
}
